package com.job.Gai_Yian.Homework0707;

/**
 * @author Gai_Yian
 * @version 1.0
 * @since 2022-07-09 01:17:45
 */
public class Example3 {
    public String name;
    public int age;
    public int add2num(int a,int b){
        return a+b;
    }
    public static int count;
    public static void saySchool(){
        System.out.println("我们是山中医的学生！");
    }
    public Example3(){
        count++;
    }
    public Example3(int age) {
        this.age = age;
        count++;
    }

    public Example3(String name, int age) {
        this.name = name;
        this.age = age;
        count++;
    }
}
